


<ion-content padding class="content">
  <ion-list>
    <ion-item>
      <ion-input autocomplete="off" type="text" placeholder="用户名" [(ngModel)]="json.username" name="username" required></ion-input>
    </ion-item>

    <ion-item>
      <ion-input autocomplete="off" type="password" placeholder="密码"  [(ngModel)]="json.password" name="password" required></ion-input>
    </ion-item>
  </ion-list>
  <button ion-button (click)="login()">登  录</button>   
</ion-content>
